package com.be.beadmin.basicData.dto.output;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.be.beadmin.basicData.utils.BooleanConverter;
import lombok.Data;

@Data
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class MaterialInfoExcelEx {

    @ExcelProperty(value = "物料编码",index = 0)
    private String materialCode;
    @ExcelProperty(value = "物料名称",index = 1)
    private String materialName;
    @ExcelProperty(value = "规格型号",index = 2)
    private String materialSpec;
    @ExcelProperty(value = "参数",index = 3)
    private String para;
    @ExcelProperty(value = "单位",index = 4)
    private String unit;
    @ExcelProperty(value = "物料分类",index = 5)
    private String category;
    @ExcelProperty(value = "条码",index = 6)
    private String barCode;
    @ExcelProperty(value = "品牌",index = 7)
    private String brand;
    @ExcelProperty(value = "是否有效",index = 8, converter = BooleanConverter.class)
    private Integer effective;
    @ExcelProperty(value = "属性名称",index = 9)
    private String materialProperty;
}
